package wc.model;

import wc.model.component.*;
import wc.model.grid.*;

public abstract class Floor<T extends MallComponent> {
	protected TileGrid<T> tileGrid;
	
	public Floor(TileGrid<T> grid) {
		tileGrid = grid;
	}
	
	public TileGrid<T> getTileGrid() {
		return tileGrid;
	}
	
	public abstract boolean addComponent(Component component, int x, int y);
	public abstract void removeComponent(int X, int Y);
	public abstract void removeComponent(Component component);
	public abstract void deleteAll();
}
